3 * Contains a class for dealing with individual log entries
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * http://www.gnu.org/copyleft/gpl.html
21 * @author Niklas Laxström
22 * @license GPL-2.0-or-later
27 * Interface for log entries. Every log entry has these methods.
38 public function getType();
45 public function getSubtype();
48 * The full logtype in format maintype/subtype.
52 public function getFullType();
55 * Get the extra parameters stored for this message.
59 public function getParameters();
62 * Get the user who performed this action.
66 public function getPerformer();
69 * Get the target page of this action.
73 public function getTarget();
76 * Get the timestamp when the action was executed.
80 public function getTimestamp();
83 * Get the user provided comment.
87 public function getComment();
90 * Get the access restriction.
94 public function getDeleted();
97 * @param int $field One of LogPage::DELETED_* bitfield constants
100 public function isDeleted( $field );